<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/10
 * Time: 18:37
 */

namespace app\admin\validate;


use think\Validate;

class SpecialColumn extends Validate
{
    protected $rule = [
      'title' => 'require|unique:special_column',
    ];

    protected $message = [
      'title.require' => '栏目名不能为空',
      'title.unique' => '栏目名不能重复',
    ];
}